home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / python2.4 / test / test_longexp.pyc (.txt) < prev    next >
Python Compiled Bytecode  |  2005-10-18  |  825b  |  22 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.4)
  3.  
  4. import unittest
  5. from test import test_support
  6.  
  7. class LongExpText(unittest.TestCase):
  8.     
  9.     def test_longexp(self):
  10.         REPS = 65580
  11.         l = eval('[' + '2,' * REPS + ']')
  12.         self.assertEqual(len(l), REPS)
  13.  
  14.  
  15.  
  16. def test_main():
  17.     test_support.run_unittest(LongExpText)
  18.  
  19. if __name__ == '__main__':
  20.     test_main()
  21.  
  22.